<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<title>道义兄弟</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/default/css/reset.min.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/default/css/swiper.min.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/default/css/layout.css"/>
<script type="text/javascript" src="__PUBLIC__/Home/default/js/fontResize.js"></script>
<script type="text/javascript" src="__PUBLIC__/Home/default/js/jquery-1.7.2.min.js"></script>
{:hook('jssdk', false)}
<script type="text/javascript" src="__PUBLIC__/Home/default/js/jssdk.js"></script>
</head>
<body>
<div class="jbPhoneTip"></div>
<div class="wrap pay">
	<div class="goods_area">
		<div class="name">{$pay['name']}<br/>订单金额共计:</div>
		<div class="price">&yen; {$pay['price']} 元</div>
		<input type="text" name="goods_name" id="goods_name" hidden value="{$pay['name']}" />
		<input type="text" name="goods_price" id="goods_price" hidden value="{$pay['price']}" />
		<input type="text" name="goods_id" id="goods_id" hidden value="{$pay['id']}" />
	</div>
	<div class="goods_order">
		<ul>
			<li>
				<div class="label">收款方</div>
				<div class="con">道义兄弟</div>
			</li>
			<li>
				<div class="label">商品</div>
				<div class="con">{$pay['name']}</div>
			</li>
		</ul>
	</div>
	<div class="goods_info">
		<ul>
			<empty name="member.openid">
			<li>
				<div class="label">温馨提示</div>
				<div class="con">首次购买本单免费</div>
			</li>
			<li>
				<div class="label">手机号</div>
				<div class="form-group">
					<input type="tel" class="js-form-input" name="telphone" id="phone" placeholder="请输入手机号码" value="" />
				</div>
			</li>
			<li>
				<div class="label">验证码</div>
				<div class="form-group">
					<input type="tel" class="js-form-input-a"  id="checkCode" name="checkCode" placeholder="请输入验证码" size="6" value=""/>
					<input id="btnSendCode" name="btnSendCode" type="button" class="form-send" onclick="sendMessage()" value="发送验证码"/>
					<div class="clear_notice"><input type="checkbox" value="1" class="m_notice" id="m_notice" /><label for="m_notice" class="m_notice_txt">通过手机接收商品通知</label></div>
				</div>
			</li>
			<input class="submit weui_btn weui_btn_plain_primary" id="donate" onclick="docompare()" type="button" value="立即体验">
			<else />
			{$member['openid']}
			<input class="submit weui_btn weui_btn_plain_primary" id="buy" onclick="buy()" type="button" value="确定购买">
			</empty>
		</ul>
	</div>
</div>

<script type="text/javascript" src="__PUBLIC__/Home/default/js/compareCode.js"></script>
<script type="text/javascript" src="__PUBLIC__/Home/default/js/swiper.min.js"></script>
<script type="text/javascript">
$(function(){
	var mySwiper = new Swiper('.swiper-container',{
	  pagination: '.swiper-pagination',
	  loop:true,
	  grabCursor: true,
	  paginationClickable: true,
	  autoplay: 2500,
	  active: true
	});

});
</script>
</body>
</html>
